package cn.ren.pojo;

import java.io.Serializable;



/**
 * (TIllness)表数据库访问层
 *
 * @author willfork
 * @since 2020-03-11 17:07:44
 */

public class Illness implements Serializable {
    private static final long serialVersionUID = 157450501349651469L;


    private Integer id;

    private String name;
    /**
     * 优先级 递增 0-3 3 最高
     */
    private Integer level;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    @Override
    public String toString() {
        return "Illness{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", level=" + level +
                '}';
    }
}